package com.wanma.recuit.service.impl;

import com.github.pagehelper.PageInfo;
import com.wanma.recuit.mapper.CollectionMapper;
import com.wanma.recuit.pojo.Collection;
import com.wanma.recuit.service.CollectionService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
@Service
@Transactional(rollbackFor = Exception.class)
public class CollectionServiceImpl implements CollectionService {
    @Resource
    private CollectionMapper collectionMapper;
    @Override
    public List<Collection> findHotJob() {
        return collectionMapper.selectHotList();
    }

    @Override
    public void insert(Collection object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(Collection object) {

    }

    @Override
    public Collection findById(Integer id) {
        return null;
    }

    @Override
    public List<Collection> findAll() {
        return null;
    }

    @Override
    public PageInfo<Collection> findPage(int pageNum, int pageSize) {
        return null;
    }
}
